package com.tsunami.authority.dto.admin;

import com.tsunami.authority.enums.admin.MoldType;
import com.tsunami.authority.enums.admin.TenantType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @author lx
 * @date 2021-12-03 11:40
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@Schema(description = "租户")
public class TenantUpdateDTO {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "租户名称")
    private String tenantName;

    /**
     * 租户简称
     */
    @Schema(description = "租户简称")
    private String shortName;
    /**
     * 联系方式
     */
    @Schema(description = "联系方式")
    private String phone;
    /**
     * 租户行业类型
     */
    @Schema(description = "租户行业类型")
    private MoldType mold;
    /**
     * 租户类型
     */
    @Schema(description = "租户类型")
    private TenantType type;
}
